<!--{include file="tempbox/top.html"}-->
<body>
<!--{include file="tempbox/header.html"}-->
<!-- end of header -->
<!--{include file="tempbox/bignav.html"}-->
<style>
	.sform{width:453px;margin:0 auto;}
	.sform form{height:43px;border:1px solid #E1E1E1;border-radius:5px;background:white;margin-bottom:10px;}
	.sbutt{background:url('/public/img/greenbig_.png');border:0;padding:0;width: 126px;height:41px;float:left;margin:1px;}
	.kwords{width:320px;height:43px;line-height:43px;font-size:14px;font-weight:bold;float:left;border:0;padding:0;margin-left: 3px;font-family:verdana;}
	.rest{height:30px;line-height:30px;font-size:14px;padding: 0 1px;width:451px;margin:0 auto;}
	.rest font{margin:0 5px;}
	.sbox{border-bottom:1px solid #E1E1E1;padding-bottom: 10px;}
	.schlist{padding-top: 10px;}
	.schlist .item{width:70%;border-bottom:1px dashed #E1E1E1;}
	.schlist .item li{margin-bottom:5px;font-size:13px;line-height:20px;}
	.schlist .item .title{font-weight:bold;font-size:14px;}
	.schlist .item .time font{color:#FF6600;margin: 0 5px;}
</style>
<div id="main" class="container">
	<div class="sbox">
		<div class="sform">
			<form method="get" action="">
				<input type="text" class="kwords" value="<!--{$smarty.get.keywords}-->" name="keywords"/>
				<input type="submit" class="sbutt" value="搜索"/>
			</form>
		</div>
		<!--{if $smarty.get.keywords}-->
		<div class="rest">
		<!--{if $data}-->搜索到：<!--{$total}--> 条<!--{else}-->没有搜索到<!--{/if}-->与<font color='green'><!--{$smarty.get.keywords|substr:0:15}--></font>相关的结果。
		</div>
		<!--{/if}-->
	</div>
	<div class="schlist">
		<!--{foreach from=$data item=val}-->
		<ul class="item">
			<li class="title">[<a href="?cid=<!--{$val.cates}-->"><font size="2" color="#FF6600"><!--{$val.catename}--></font></a>]&nbsp;<a href="/page-<!--{$val.id}-->.html" target="_blank"><!--{$val.title}--></a></li>
			<li><!--{$val.description}--></li>
			<li class="time">---<font size="1"><!--{$val.author}--></font><font size="1"><!--{$val.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></font></li>
		</ul>
		<!--{/foreach}-->
	</div>
</div>
<!--{include file="tempbox/footer.html"}-->
<!-- end funter -->
</body>
</html>